package cn.kgc.springbootdemo.enums;

import lombok.Getter;

/**
 * 会员时长
 */
@Getter
public enum VipDuration {

    CS(180,"测试数据3分钟"),
    ONE_MONTH(2626560,"一个月"),
    THREE_MONTH(7879680,"三个月"),
    SIX_MONTH(15759360,"六个月"),
    TWELVE_MONTH(31518720,"十二个月");

    private Integer code;

    private String message;

    VipDuration(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
